//
//  CLseekCollectionCell.m
//  I-want-go
//
//  Created by dllo on 15/10/31.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "CLseekCollectionCell.h"
#import "CLscreen.h"
@implementation CLseekCollectionCell

- (void)dealloc {
    [_titleLabel release];
    [_contetLabel release];
    [_productImage release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        
        self.productImage = [[UIImageView alloc] initWithFrame:CGRectMake(5 * SWIDTH, 5 * SHEIGHT, 140 * SWIDTH, 140 * SHEIGHT)];
        [self.contentView addSubview:self.productImage];
        [_productImage release];
        
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 150 * SHEIGHT, 150 * SWIDTH, 30 * SHEIGHT)];
        [self.contentView addSubview:self.titleLabel];
        self.titleLabel.textAlignment = NSTextAlignmentCenter;
        [_titleLabel release];
        
        self.contetLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 180 * SHEIGHT, 150 * SWIDTH, 20 * SHEIGHT)];
        [self.contentView addSubview:self.contetLabel];
        self.contetLabel.textAlignment = NSTextAlignmentCenter;
        self.contetLabel.textColor = [UIColor grayColor];
        [_contetLabel release];
    }
    return self;
}






@end
